<?php if($dashboardIcons): ?>
<div class="grid_7">
    <?php foreach($dashboardIcons as $icon): ?>
        <?php echo CHtml::link('<img src="'.$icon->img.'" width="64" height="64" alt="'.$icon->alt.'" /><span>'.$icon->name.'</span>',
            $icon->url,
            array('class'=>'dashboard-module '.$icon->class)
        ); ?>
    <?php endforeach; ?>

    <div style="clear: both"></div>
</div>
<?php endif; ?>